package org.mobile.makibis;

import org.mobile.makibis.R;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class MakiBISActivity extends Activity {
    /** Called when the activity is first created. */
	public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.login_page);

        final Button button = (Button) findViewById(R.id.btnLogin);
        button.setOnClickListener(new View.OnClickListener() {

            public void onClick(View v) {
            	try{
	            	Intent myIntent = new Intent(MakiBISActivity.this, LoggedIn.class);
	            	MakiBISActivity.this.startActivity(myIntent);
            	}
            	catch (Exception e) {
					e.printStackTrace();
					System.out.println(e + "\n" + "\n\nERROR @ CLICK!\n\n");
				}
            	//temporary
            }
        });

    }
}
